package com.shjn.squirrel.activity;

import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;

import com.shjn.squirrel.utils.ScreenAdaptUtils;

/**
 * Activity基类
 */
public class BaseActivity extends AppCompatActivity {


    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        //屏幕适配(按照宽度方向适配)
        ScreenAdaptUtils.setCustomDesity(this, getApplication(), 360);
    }

}
